package com.sdruixinggroup.mondayb2b.models;

import java.util.List;

/**
 * Created by Administrator on 2017/12/16.
 */

public class QuickOrder  {

    /**
     * goods : {"goods_id":1,"type":2,"brand_name":"金克拉","first_category_name":"化肥(氮磷钾)","second_category_name":"金克拉","name":"化肥","goods_sn":"ss","thumb":"https://yingdd.oss-cn-hangzhou.aliyuncs.com/fc914e996f3287ca779204e2304e3ae6.png","content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tempor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus sapien nunc eget.","original_price":13,"sale_price":5,"stock":666,"praise_rate":100,"comment_count":0,"saled_count":4,"pics":["https://yingdd.oss-cn-hangzhou.aliyuncs.com/b6268c8d087d4c7042cc52a30a5f86e6.jpg","https://yingdd.oss-cn-hangzhou.aliyuncs.com/54151fcc7abc90260e9d31c59efe6164.png"],"attributes":[{"name":"分量","value":""},{"name":"温度","value":""},{"name":"重量","value":""}]}
     * quantity : 1
     * merchant_id : 2
     */

    private GoodsBean goods;
    private int quantity;
    private int merchant_id=0;

    public GoodsBean getGoods() {
        return goods;
    }

    public void setGoods(GoodsBean goods) {
        this.goods = goods;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(int merchant_id) {
        this.merchant_id = merchant_id;
    }

    public static class GoodsBean {
        /**
         * goods_id : 1
         * type : 2
         * brand_name : 金克拉
         * first_category_name : 化肥(氮磷钾)
         * second_category_name : 金克拉
         * name : 化肥
         * goods_sn : ss
         * thumb : https://yingdd.oss-cn-hangzhou.aliyuncs.com/fc914e996f3287ca779204e2304e3ae6.png
         * content : Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar tempor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus sapien nunc eget.
         * original_price : 13
         * sale_price : 5
         * stock : 666
         * praise_rate : 100
         * comment_count : 0
         * saled_count : 4
         * pics : ["https://yingdd.oss-cn-hangzhou.aliyuncs.com/b6268c8d087d4c7042cc52a30a5f86e6.jpg","https://yingdd.oss-cn-hangzhou.aliyuncs.com/54151fcc7abc90260e9d31c59efe6164.png"]
         * attributes : [{"name":"分量","value":""},{"name":"温度","value":""},{"name":"重量","value":""}]
         */

        private int goods_id;
        private int type;
        private String brand_name;
        private String first_category_name;
        private String second_category_name;
        private String name;
        private String goods_sn;
        private String thumb;
        private String content;
        private double original_price;
        private double sale_price;
        private int stock;
        private int praise_rate;
        private int comment_count;
        private int saled_count;
        private List<String> pics;
        private List<AttributesBean> attributes;

        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getBrand_name() {
            return brand_name;
        }

        public void setBrand_name(String brand_name) {
            this.brand_name = brand_name;
        }

        public String getFirst_category_name() {
            return first_category_name;
        }

        public void setFirst_category_name(String first_category_name) {
            this.first_category_name = first_category_name;
        }

        public String getSecond_category_name() {
            return second_category_name;
        }

        public void setSecond_category_name(String second_category_name) {
            this.second_category_name = second_category_name;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getGoods_sn() {
            return goods_sn;
        }

        public void setGoods_sn(String goods_sn) {
            this.goods_sn = goods_sn;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public double getOriginal_price() {
            return original_price;
        }

        public void setOriginal_price(int original_price) {
            this.original_price = original_price;
        }

        public double getSale_price() {
            return sale_price;
        }

        public void setSale_price(int sale_price) {
            this.sale_price = sale_price;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public int getPraise_rate() {
            return praise_rate;
        }

        public void setPraise_rate(int praise_rate) {
            this.praise_rate = praise_rate;
        }

        public int getComment_count() {
            return comment_count;
        }

        public void setComment_count(int comment_count) {
            this.comment_count = comment_count;
        }

        public int getSaled_count() {
            return saled_count;
        }

        public void setSaled_count(int saled_count) {
            this.saled_count = saled_count;
        }

        public List<String> getPics() {
            return pics;
        }

        public void setPics(List<String> pics) {
            this.pics = pics;
        }

        public List<AttributesBean> getAttributes() {
            return attributes;
        }

        public void setAttributes(List<AttributesBean> attributes) {
            this.attributes = attributes;
        }

        public static class AttributesBean {
            /**
             * name : 分量
             * value :
             */

            private String name;
            private String value;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
